doctype(type="html")
html(ng-app="app")
	head
		title QingKr
		link(rel="stylesheet",type="css",href="/static/less/bootstrap/bootstrap.css")
		link(rel="stylesheet",type="css",href="/static/css/dashboard.css")
		link(rel="stylesheet",type="css",href="/static/css/angular-motion.css")
		link(rel="stylesheet",type="css",href="/static/css/font-awesome.min.css")
		link(rel="stylesheet",type="css",href="/static/css/bootstrap-additions.min.css")
		link(rel="stylesheet",type="css",href="/static/less/custom.css")
		meta(http-equiv="content-type",content="text/html;charset=utf-8")
	body
		.navbar.navbar-default.navbar-fixed-top(role="navigation",ng-controller="NavigationController")
			.container-fluid
				.navbar-header
					button(type="button",class="navbar-toggle",data-toggle="collapse",data-target=".navbar-collapse")
						span.icon-bar
						span.icon-bar
						span.icon-bar
					a(class="navbar-brand",href="#")  天伦万家
				.collapse.navbar-collapse
					ul.nav.navbar-nav
						li(class="{{currentMenu['blog']}}")
							a(href="#/blog") 文章推送
						li(class="{{currentMenu['activity']}}")
							a(href="#/activity") 活动信息
						li(class="{{currentMenu['weixin']}}")
							a(href="#/weixin") 微信回复
						li(class="{{currentMenu['setting']}}")
							a(href="#/setting") 设置

		div(ng-view)
		//- js库
		script(src="/static/js/lib/angular-file-upload/angular-file-upload-shim.min.js")
			
		script(src="/static/js/bower_components/angular/angular.js")
		script(src="/static/js/lib/angular/i18n/angular-locale_zh.js")
		script(src="/static/js/lib/angular/angular-sanitize.js")
		script(src="/static/js/bower_components/angular-animate/angular-animate.js")
		script(src="/static/js/lib/angular/angular-route.js")
		script(src="/static/js/lib/angular/angular-resource.js")
		script(src="/static/js/bower_components/angular-strap/dist/angular-strap.js")
		script(src="/static/js/bower_components/angular-strap/dist/angular-strap.tpl.js")
		script(src="/static/js/lib/angular-text.js")
		script(src="/static/js/lib/angular-progress.js")
		script(src="/static/js/lib/angular-file-upload/angular-file-upload.min.js")

		script(src="/static/coffee/admin/app.js",type="text/javascript")
		script(src="/static/coffee/admin/model.js",type="text/javascript")

		script(src="/static/coffee/admin/controllers/blogCtrl.js",type="text/javascript")
		script(src="/static/coffee/admin/controllers/activityCtrl.js",type="text/javascript")
		script(src="/static/coffee/admin/controllers/weixinCtrl.js",type="text/javascript")
		script(src="/static/coffee/admin/controllers/settingCtrl.js",type="text/javascript")
